import java.sql.SQLOutput;

public class TestStudent1 {
    public static void main(String[] args) {
        //创建对象（实例化类）
        Student stu1 = new Student();
        //给对象属性赋值
        stu1.studentId = "2025001";
        stu1.name = "张三";

        //创建第二个对象
        Student stu2 = new Student();
        stu2.studentId = "2025002";
        stu2.name = "李四";

        //输出对象信息
        System.out.println("学生1：" + stu1.studentId +""+stu1.name);
        System.out.println("学生2：" + stu2.studentId + "" + stu2.name);
    }
}
